<nz-layout>
    <nz-header class="dept-header" style="height: 32px;">
        <nz-space class="dept-header-space" style="text-align: center;">
            <span class="dept-header-content" *nzSpaceItem nz-icon nzType="apartment" nzTheme="outline" style="justify-content: center;"></span>
            <span class="dept-header-content" *nzSpaceItem style="justify-content: center;">组织机构</span>
            <a class="dept-header-reload" *nzSpaceItem nz-icon [nzType]="'reload'" (click)="onReload()" 
            (keydown)="onReload()" aria-hidden="true" [nz-tooltip]="'刷新'"></a>
        </nz-space>
    </nz-header>

    <nz-content>
        <div>
            <nz-tree class="default-layout-border" style="text-align: left; padding: 6px; overflow: hidden;" 
            [nzData]="deptNodes" nzBlockNode [nzExpandedKeys]="expandKeys" 
            (nzClick)="onDeptClick($event)"></nz-tree>
        </div>

    </nz-content>
</nz-layout>
